package mysql

import "gorm.io/gorm"

type House struct {
	gorm.Model
	Name    string  `gorm:"type:varchar(20);comment:'物业名称'"`
	Address string  `gorm:"type:varchar(20);comment:'物业地址'"`
	Type    string  `gorm:"type:varchar(20);comment:'房型'"`
	Area    string  `gorm:"type:varchar(20);comment:'面积'"`
	Floor   string  `gorm:"type:varchar(20);comment:'楼层'"`
	Price   float64 `gorm:"type:decimal(10,2);comment:'租金'"`
	Remarks string  `gorm:"type:varchar(50);comment:'备注'"`
}
